#ifndef FBBACKUP_H
#define FBBACKUP_H

#include <QtCore>
#include <stdio.h>
#include <string.h>
#include <ibase.h>

class FBBackup: public QThread
{
Q_OBJECT

public:

FBBackup();
~FBBackup();
void run();

public slots:

void set_config(QString db_file,
                QString out_file,
                QString user,
                QString pass,
                QString serv_name,
                bool verbose_);

signals:

void log_line(QString s);

private:

QByteArray db_file_ba;
QByteArray out_file_ba;
QByteArray user_ba;
QByteArray pass_ba;
QByteArray serv_name_ba;
char * db_file;
char * out_file;
char * user;
char * pass;
char * serv_name;
bool verbose;

};

#endif // FBBACKUP_H
